package cn.yhbk.web.modules.manager.Mapper;

import cn.yhbk.web.modules.manager.Pojo.Entity.TbCounsellor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 辅导员表 Mapper 接口
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-05
 */
@Mapper
public interface TbCounsellorMapper extends BaseMapper<TbCounsellor> {

    List<Long> getStudentIdByCounsellorId(@Param("counsellorId") Long counsellorId);

    int giveClass(@Param("counsellorId") Long counsellorId,
                  @Param("list") List<Long> classIds);
}
